home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / include / Xm / FileSB.h.z / FileSB.h
Encoding:
C/C++ Source or Header  |  2003-11-18  |  3.4 KB  |  119 lines

  1. /*
  2.  * FileSB.h
  3.  *
  4.  * Copyright 2000, Silicon Graphics, Inc.
  5.  * ALL RIGHTS RESERVED
  6.  * 
  7.  * UNPUBLISHED -- Rights reserved under the copyright laws of the United
  8.  * States.   Use of a copyright notice is precautionary only and does not
  9.  * imply publication or disclosure.
  10.  *
  11.  * U.S. GOVERNMENT RESTRICTED RIGHTS LEGEND:
  12.  * Use, duplication or disclosure by the Government is subject to restrictions
  13.  * as set forth in FAR 52.227.19(c)(2) or subparagraph (c)(1)(ii) of the Rights
  14.  * in Technical Data and Computer Software clause at DFARS 252.227-7013 and/or
  15.  * in similar or successor clauses in the FAR, or the DOD or NASA FAR
  16.  * Supplement.  Contractor/manufacturer is Silicon Graphics, Inc.,
  17.  * 2011 N. Shoreline Blvd. Mountain View, CA 94039-7311.
  18.  *
  19.  * THE CONTENT OF THIS WORK CONTAINS CONFIDENTIAL AND PROPRIETARY
  20.  * INFORMATION OF SILICON GRAPHICS, INC. ANY DUPLICATION, MODIFICATION,
  21.  * DISTRIBUTION, OR DISCLOSURE IN ANY FORM, IN WHOLE, OR IN PART, IS STRICTLY
  22.  * PROHIBITED WITHOUT THE PRIOR EXPRESS WRITTEN PERMISSION OF SILICON
  23.  * GRAPHICS, INC.
  24.  */
  25. /* 
  26.  * @OSF_COPYRIGHT@
  27.  * (c) Copyright 1990, 1991, 1992, 1993, 1994 OPEN SOFTWARE FOUNDATION, INC.
  28.  * ALL RIGHTS RESERVED
  29.  *  
  30. */ 
  31. /*
  32.  * HISTORY
  33.  * Motif Release 1.2.5
  34. */
  35. /*   $XConsortium: FileSB.h /main/cde1_maint/2 1995/08/18 19:03:58 drk $ */
  36. /*
  37. *  (c) Copyright 1989, DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. */
  38. /*
  39. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  40. #ifndef _XmFSelect_h
  41. #define _XmFSelect_h
  42.  
  43. #include <Xm/Xm.h>
  44.  
  45. #ifdef __cplusplus
  46. extern "C" {
  47. #endif
  48.  
  49.  
  50. /* Type definitions for FileSB resources: */
  51.  
  52. #ifdef _NO_PROTO
  53.  
  54. typedef void (*XmQualifyProc)() ;
  55. typedef void (*XmSearchProc)() ;
  56.  
  57. #else
  58.  
  59. typedef void (*XmQualifyProc)( Widget, XtPointer, XtPointer) ;
  60. typedef void (*XmSearchProc)( Widget, XtPointer) ;
  61.  
  62. #endif
  63.  
  64.  
  65. /* Class record constants */
  66.  
  67. externalref WidgetClass xmFileSelectionBoxWidgetClass;
  68.  
  69. typedef struct _XmFileSelectionBoxClassRec * XmFileSelectionBoxWidgetClass;
  70. typedef struct _XmFileSelectionBoxRec      * XmFileSelectionBoxWidget;
  71.  
  72.  
  73. #ifndef XmIsFileSelectionBox
  74. #define XmIsFileSelectionBox(w) (XtIsSubclass((w),xmFileSelectionBoxWidgetClass))
  75. #endif
  76.  
  77.  
  78. /********    Public Function Declarations    ********/
  79. #ifdef _NO_PROTO
  80.  
  81. extern Widget XmFileSelectionBoxGetChild() ;
  82. extern void XmFileSelectionDoSearch() ;
  83. extern Widget XmCreateFileSelectionBox() ;
  84. extern Widget XmCreateFileSelectionDialog() ;
  85.  
  86. #else
  87.  
  88. extern Widget XmFileSelectionBoxGetChild( 
  89.                         Widget fs,
  90. #if NeedWidePrototypes
  91.                         unsigned int which) ;
  92. #else
  93.                         unsigned char which) ;
  94. #endif /* NeedWidePrototypes */
  95. extern void XmFileSelectionDoSearch( 
  96.                         Widget fs,
  97.                         XmString dirmask) ;
  98. extern Widget XmCreateFileSelectionBox( 
  99.                         Widget p,
  100.                         String name,
  101.                         ArgList args,
  102.                         Cardinal n) ;
  103. extern Widget XmCreateFileSelectionDialog( 
  104.                         Widget ds_p,
  105.                         String name,
  106.                         ArgList fsb_args,
  107.                         Cardinal fsb_n) ;
  108.  
  109. #endif /* _NO_PROTO */
  110. /********    End Public Function Declarations    ********/
  111.  
  112.  
  113. #ifdef __cplusplus
  114. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  115. #endif
  116.  
  117. #endif /* _XmFSelect_h */
  118. /* DON'T ADD ANYTHING AFTER THIS #endif */
  119.